﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Itop.YHPC.Model;
using System.Collections.Generic;
using Itop.YHPC.controller;

namespace Itop.YHPC.workflow
{
    public partial class workflow_ajax : AjaxPage<yhpcDictionary>
    {
        protected override IList<yhpcDictionary> onRead()
        {
            string sType = Request.QueryString["type"];
            IList<yhpcDictionary> list = workflowController.GetDictList("type='"+sType+"' and parentid is not null");
            
            return list;
            
        }
    }
}
